<?php
/**
 * Created by PhpStorm.
 * User: zng
 * Date: 2020/3/25
 * Time: 11:05
 */
namespace app\api\service\foods;

use app\api\model\foods\Foods as FoodsModels;

Class Foods{

    /**
     * 获取菜品详情
     * @param int $fid
     * @return mixed
     */
    public function get(int $fid)
    {
        return FoodsModels::getOrFail($fid);
    }

}